<?php
define('AcanROOT', dirname(__FILE__).DIRECTORY_SEPARATOR); //AcanROOT ：为系统跟目录
if(!session_id() && defined('Acan_app_name')){session_start();}
$AcanROOT=dirname(__FILE__);
$time = $_SERVER['REQUEST_TIME'];
$ip = $_SERVER['REMOTE_ADDR'];
//引入核心文件
include(AcanROOT.'fun/Afun.php');//核心 time 0.000245
include(AcanROOT.'fun/Afun_js.php');//js time 0.000118
include(AcanROOT.'fun/Afun_cache.php');//缓存 time 0.000133
include(AcanROOT.'fun/Afun_ip.php');//ip接口 time 0.000103
//引入模板引擎
include(AcanROOT.'fun/template.php');// time 0.000153
include(AcanROOT.'class/Acan.php');// time 0.000137
/*
Afun_tpl_obclean();
Afun_debug_ready();//初始化debug
*/
if(Acan_debug==1) Afun_debug_ready();//初始化debug
?>